.wrap {
    width: 400px;
    height: 400px;
    border: 1px solid #000000;
}

.tab {
    width: 400px;
    height: 50px;
    border-bottom: 1px solid #000000;
}

.J_tab .item {
    float: left;
    width: 80px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    background: #000000;
    cursor: pointer;
}

.J_tab .current {
    color: #000000;
    background: #ffffff;
}

.J_page,
.page-wrap {
    height: 350px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.J_page .fade .item {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.J_page .fade .item.active {
    display: block;
}

.J_page .slide {
    position: absolute;
    width: 1200px;
    top: 0;
}

.J_page .slide .item {
    height: 100%;
    float: left;
    width: 400px;
}